<%--
  Created by IntelliJ IDEA.
  User: This
  Date: 2019/7/12
  Time: 21:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>管理系统</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <%@ include file="base/header.jsp" %>
</head>
<body>

<%@ include file="base/top_menu.jsp" %>
<div class="container-fluid">
    <div class="row-fluid">
        <%@ include file="base/left_menu.jsp" %>

        <!--/span-->
        <div class="span10" id="content">
            <div class="row-fluid">
                <!-- block -->
                <div class="block">
                    <div class="navbar navbar-inner block-header">
                        <div class="muted pull-left">产品尺寸</div>
                    </div>
                    <div class="block-content collapse in">
                        <div class="span12">
                            <div class="layui-form">
                                <div>
                                    <label style="text-align: center;padding: 10px 0 5px 0;float: left;">查询：</label>
                                    <div style="float: left;">
                                        <input type="text" name="keyword" placeholder="请输入查询条件" autocomplete="off"
                                               class="layui-input"
                                               style="width: 180px;height: 35px;padding: 5px 5px 5px 0;margin-top:1px;">
                                    </div>
                                    <div style="float: left; margin-left: 10px;margin-top: 1px;">
                                        <input id="search" type="button" class="layui-btn layui-btn-normal" value="查询"
                                               data-type="reload" style="height: 35px;"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <script type="text/html" id="toolbarDemo">
                        <div class="layui-btn-container">
                            <div class="layui-inline" lay-event="add"><i class="layui-icon layui-icon-add-1"></i></div>
                            <div class="layui-inline" lay-event="delete"><i class="layui-icon layui-icon-delete"></i>
                            </div>
                        </div>
                    </script>


                    <table class="layui-hide" id="product_size" lay-filter="size">
                    </table>
                    <script type="text/html" id="barDemo">
                        <%--<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>--%>
                        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
                    </script>
                </div>
            </div>
        </div>
    </div>
    <hr>
</div>

<div class="getSizeAdd" style="display: none;">
    <div class="layui-form-item" style="margin-top: 30px;">
        <label class="layui-form-label">尺寸</label>
        <div class="layui-input-block">
            <input class="layui-input" name="sizeName" style="width: 80%"/>
        </div>
    </div>
</div>
</body>
<script src="${rootPath}/resource/js/size.js"></script>
<script>
    $(function () {
        // 导航设置
        var remove = ['top_index', 'left_index'];
        var add = ['product', ''];
        initMenu(remove, add);
        // 表格参数设置
    });
</script>
</html>
